package com.priserve.retirement.core.service;

import java.util.List;

import com.priserve.retirement.core.exception.RetirementCoreBusinessException;
import com.priserve.retirement.core.exception.RetirementCoreDataException;
import com.priserve.retirement.dao.AdvisorDAO;
import com.priserve.retirement.entities.Clientinformation;

public class AdvisorServiceImpl implements IAdvisorService {

	
	private AdvisorDAO advisorDAO=new AdvisorDAO();
	
	public AdvisorServiceImpl() {
		// TODO Auto-generated constructor stub
	}

	@Override
	public List<Clientinformation> getClientInfoByAdvisor(final Long advisorId)
			throws RetirementCoreBusinessException, RetirementCoreDataException {

		return advisorDAO.getClientsByAdvisorId(advisorId);
		
		
	}

}
